package com.itheima.service;

import com.itheima.pojo.Dept;

import java.util.List;

/**
 * @Author：cxl
 * @Package：com.itheima.service
 * @Project：web-project
 * @name：DeptService
 * @Date：2025-09-25 9:41 am
 * @Filename：DeptService
 */

public interface DeptService {

    List<Dept> findAll();

    int deleteById(Integer id);

    void add(Dept dept);

    Dept update(Dept dept);

    Dept getById(Integer id);
}
